[NO-MERGE][CMPT-5391] feat(pipelines): add dr pipelines environment subcommand group - #6
Closed
sunny2get wants to merge 15 commits into
Closed
Conversation
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 17:17
35404a1 to
94ce21f
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 25, 2026 17:17
e491849 to
00288a4
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 17:40
94ce21f to
5ea6ed1
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 25, 2026 17:40
00288a4 to
954c1fb
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 17:45
5ea6ed1 to
7eff4b1
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 25, 2026 17:45
954c1fb to
f5633d3
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 18:06
7eff4b1 to
5a694f0
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 25, 2026 18:08
f5633d3 to
c47492a
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 18:52
5a694f0 to
3e310d8
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
2 times, most recently
from
May 25, 2026 20:33
9a4a15d to
ede20ce
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 25, 2026 20:33
3e310d8 to
e834c10
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 27, 2026 15:57
ede20ce to
9ae465b
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 27, 2026 15:57
e834c10 to
4e305a6
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 27, 2026 16:18
9ae465b to
6ebbc47
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
2 times, most recently
from
May 27, 2026 16:30
56c366b to
9d3527b
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 27, 2026 16:30
6ebbc47 to
801d53c
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 27, 2026 16:35
9d3527b to
1c8a8b8
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 27, 2026 16:35
801d53c to
2a2bad9
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 28, 2026 14:37
1c8a8b8 to
3e873ef
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 28, 2026 14:37
2a2bad9 to
0df4faf
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 28, 2026 14:40
3e873ef to
52f6f03
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 28, 2026 14:40
0df4faf to
215a015
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 28, 2026 14:46
52f6f03 to
3c81e39
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
2 times, most recently
from
May 28, 2026 15:24
5d008a4 to
e4649d2
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 28, 2026 15:30
3c81e39 to
0f77eb6
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
May 28, 2026 15:30
e4649d2 to
6c06118
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
May 28, 2026 15:35
0f77eb6 to
ccb22de
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 1, 2026 16:29
19da909 to
7e4887c
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 1, 2026 16:29
f5b80d1 to
8e95b5d
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 1, 2026 17:11
7e4887c to
f2dc161
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 1, 2026 17:12
8e95b5d to
b06b4b5
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 1, 2026 17:54
f2dc161 to
f31a44b
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 1, 2026 17:54
b06b4b5 to
83d1339
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 2, 2026 20:44
f31a44b to
e6effed
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 2, 2026 20:46
83d1339 to
36886c1
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 3, 2026 16:16
e6effed to
4f0e900
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 3, 2026 16:18
48c2124 to
8cb28da
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-schedules
branch
from
June 3, 2026 20:45
4f0e900 to
0ac9d44
Compare
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
2 times, most recently
from
June 3, 2026 20:53
bca501b to
8dcf9a2
Compare
…tarobot-oss#548) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Registers `dr pipelines environment` (create/list/update/delete + `environment version delete`) backed by the /api/v2/pipelines/environments endpoints. Extends docs and reference table accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…mands Apply sunny/pipelines versions of environment subcommand files and update all import paths to use internal/pipeline (singular) after rename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n, limit defaults, version prefix Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ate --name
Add cmd.MarkFlagRequired("name") so Cobra enforces the flag before
RunE (consistent with version/del which already marks --environment
required). Update TestCmd_RejectsMissingName to match Cobra's error
format ("name" instead of "--name").
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sunny2get
force-pushed
the
cmpt-5391/pipelines-environments
branch
from
June 5, 2026 18:27
8dcf9a2 to
3989bec
Compare
- internal/pipeline/environment.go: correct ListEnvironments comment
("bare JSON array" → "DataPage envelope")
- cmd/pipeline/environment/create/cmd.go: fix example --packages → --package
- docs/commands/pipelines-reference.md: fix --packages → --package in create example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dr pipelines environment create/list/update/delete— manage named, immutable-versioned pip-package environments that pipelines build againstdr pipelines environment version delete— remove a specific older version without touching the parentenvironment updateappends a new immutable version; existing versions are unchangedenvironment deletesoft-deletes the latest active version, cascading to the parent if none remain activecmd/pipelines/environment/envutil/rendering helpers andinternal/pipelines/environment.goStacked on:
cmpt-5391/pipelines-schedules— diff here shows only the delta.Test plan
go build ./...go test ./cmd/pipelines/environment/... ./internal/pipelines/...dr pipelines environment --help— shows create/list/update/delete/versiondr pipelines environment create --name ml-base --package numpy --help🤖 Generated with Claude Code